﻿using System;
using System.Threading;

namespace POCOFirst
{
	public class CalculatorX : ContextBoundObject
	{
		public CalculatorX()
		{
			Console.WriteLine("ctor {0}", Thread.CurrentContext);
		}

		public int Add(int x, int y)
		{
			Console.WriteLine("Add {0}", Thread.CurrentContext);
			return checked(x + y);
		}
	}
}